<?php

('Access-Control-Allow-Origin：*');
// include("../xsdb.class.php");
include("../config/mysql.php");
$db = new mysql();

$type = $_GET["type"];
$level = $_GET["level"];
$ject = $_GET["ject"];
$produ = $_GET["produ"];
$price = $_GET["price"];
$Agencyprice = $_GET["Agencyprice"];
$Externalprice = $_GET["Externalprice"];
$remarks = $_GET["remarks"];
$xuezhi = $_GET["xuezhi"];
$validYear = $_GET["validYear"];
$company_id = $_GET["company_id"];


$sql = "INSERT INTO educational (produ,ject,price,Agencyprice,Externalprice,level,xuezhi,remarks,type,validYear,company_id) VALUES ('{$produ}','{$ject}','{$price}','{$Agencyprice}','{$Externalprice}','{$level}','{$xuezhi}','{$remarks}','{$type}','{$validYear}',{$company_id})";

echo $db->Query($sql);

$db->close();
